const mongoose = require('mongoose');
const {model, Schema} = mongoose;

// 验证码
const schema = new Schema({
  code: {type: String},
  createTime: {type: Date, index: true, default: new Date()},
  updateTime: {type: Date, index: true, default: new Date()},
});

const VCode = model('vCode', schema);

module.exports = VCode;
